package com.af.community.smart.share

import com.af.community.smart.business.BuildConfig

/**
 * 项目名称：Smart_Business
 * 创建人：小卷毛
 * 创建时间：2019-09-17 15:26
 */
object BaseUrl {

    @Suppress("MayBeConstant")
    val baseHttp = BuildConfig.API_HOST
    private val baseUrl = "$baseHttp/rest"

    // 个人信息
    val getToken = "$baseHttp/app/aliyun/getToken"      //阿里云token获取
    val login = "$baseUrl/user/login"                   //登录
    val update = "$baseUrl/user/update"                 //修改头像、密码
    val getCode = "$baseUrl/user/getCode"               //获取验证码
    val appVersion = "$baseUrl/appVersion/checkVersion" //版本检测
    val about = "$baseUrl/aboutus/select"               //关于我们

    // 人户采集
    val gridList = "$baseHttp/app/grid/listAll"             //网格列表
    val userList = "$baseUrl/social/userList"               //人口列表
    val userInfo = "$baseUrl/social/userInfo"               //人口详情
    val userAdd = "$baseUrl/appUser/add"                    //添加人口
    val gridHouse = "$baseHttp/app/dictData/list"           //房屋类型
    val gridVillage = "$baseHttp//app/gridVillage/listAll"  //小区
    val gridBuilding = "$baseHttp/app/gridBuilding/listAll" //楼栋
    val addHouse = "$baseHttp/app/gridHouse/add"            //房屋添加
    val updateHouse = "$baseHttp/app/gridHouse/update"      //房屋编辑
    val houseList = "$baseHttp/app/gridHouse/list"          //房屋列表
    val houseInfo = "$baseHttp/app/gridHouse/info"          //房屋详情

    // 网格事件管理
    val addGridEvent = "$baseUrl/social/addGridEvent" //网格事件上报
    val eventList = "$baseUrl/social/eventList"       //事件处理查询

    // 社区业务审核
    val typeList = "$baseUrl/guide/typeList"              //办事指南
    val typeInfo = "$baseUrl/guide/info"                  //办事指南详情
    val userApplyList = "$baseUrl/social/userApplyList"   //自由申报列表
    val userApplyCheck = "$baseUrl/social/userApplyCheck" //自由申报审核

    // 日常办公
    val taskList = "$baseUrl/social/taskList"         //待办任务列表
    val doTask = "$baseUrl/social/doTask"             //待办任务完成
    val noticeList = "$baseUrl/notices/list"          //通知公告
    val tourList = "$baseUrl/social/tourList"         //巡检列表
    val tour = "$baseUrl/social/tour"                 //巡检
    val addTour = "$baseUrl/social/addTour"           //添加巡检结果
    val sign = "$baseUrl/social/sign"                 //签到
    val signList = "$baseUrl/social/signList"         //签到列表
    val teleDictList = "$baseUrl/social/teleDictList" //通讯录
    val diaryList = "$baseUrl/social/diaryList"       //民情日志
    val addDiary = "$baseUrl/social/addDiary"         //新增民情日志

}